import CurrUser from "@/comps/CurrUser";
import WsComp from "@/comps/ws/WsComp";

import React from "react";

import store from '@/store/store'
import { Provider } from 'react-redux'

function TioRoot(props) {
  return <>
    <Provider store={store}>
      <CurrUser>
        <WsComp auto={true}>
          {props.children}
        </WsComp>
      </CurrUser>
    </Provider>
  </>

};

export default TioRoot;
